package com.wpfap.kfzapp;

import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.ListAdapter;
import android.widget.ListView;

public class TippActivity<T> extends Activity {
    private ImageView gfxButton;
	/** Called when the activity is first created. */
    @SuppressWarnings("unchecked")
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.tipp);
        List valueList = new ArrayList<String>();
        for (int i = 0; i < 10; i++)
        {
        valueList.add("Tipp Nummer "+i);
        }
        ListAdapter adapter = new ArrayAdapter<T>(getApplicationContext(), android.R.layout.simple_list_item_1, valueList);
        final ListView lv = (ListView)findViewById(R.id.listView1);

        lv.setAdapter(adapter);
    }
}